//调用接口配置文件
import { request,verifyToken } from 'config/request'
import config from 'config/config'

//保存客户标签
export async function submitZituoSetting(params) {
  return request({
      url: `zituo-admin/a/configuration/zituoSetting/save`,
      method: 'POST',
      data: params,
  });
};

//编辑查看时获取数据
export async function queryInfo (params) {
  return request({
    url: `zituo-admin/a/configuration/zituoSetting/get`,
    method: 'GET',
    data: params,
    headers: {
      'Content-type': 'application/json',
    },
  })
}

//获取区域项目
export async function getProjectList(params) {
  return request({
      url: `zituo-admin/a/sys/baseOrg/projectList`,
      method: 'GET',
      data: params,
  });
};
//验证token
export async function verifyCodeFun(){
  return verifyToken();
}



